﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AA7 RID: 2727
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LogisticsInfoScNotify : IMessage<LogisticsInfoScNotify>, IMessage, IEquatable<LogisticsInfoScNotify>, IDeepCloneable<LogisticsInfoScNotify>, IBufferMessage
	{
		// Token: 0x1700225E RID: 8798
		// (get) Token: 0x060079E8 RID: 31208 RVA: 0x00145129 File Offset: 0x00143329
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LogisticsInfoScNotify> Parser
		{
			get
			{
				return LogisticsInfoScNotify._parser;
			}
		}

		// Token: 0x1700225F RID: 8799
		// (get) Token: 0x060079E9 RID: 31209 RVA: 0x00145130 File Offset: 0x00143330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LogisticsInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002260 RID: 8800
		// (get) Token: 0x060079EA RID: 31210 RVA: 0x00145142 File Offset: 0x00143342
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LogisticsInfoScNotify.Descriptor;
			}
		}

		// Token: 0x060079EB RID: 31211 RVA: 0x00145149 File Offset: 0x00143349
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsInfoScNotify()
		{
		}

		// Token: 0x060079EC RID: 31212 RVA: 0x00145151 File Offset: 0x00143351
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsInfoScNotify(LogisticsInfoScNotify other) : this()
		{
			this.cPAMDPLGPHM_ = ((other.cPAMDPLGPHM_ != null) ? other.cPAMDPLGPHM_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060079ED RID: 31213 RVA: 0x00145186 File Offset: 0x00143386
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsInfoScNotify Clone()
		{
			return new LogisticsInfoScNotify(this);
		}

		// Token: 0x17002261 RID: 8801
		// (get) Token: 0x060079EE RID: 31214 RVA: 0x0014518E File Offset: 0x0014338E
		// (set) Token: 0x060079EF RID: 31215 RVA: 0x00145196 File Offset: 0x00143396
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PKHLAAOBOEK CPAMDPLGPHM
		{
			get
			{
				return this.cPAMDPLGPHM_;
			}
			set
			{
				this.cPAMDPLGPHM_ = value;
			}
		}

		// Token: 0x060079F0 RID: 31216 RVA: 0x0014519F File Offset: 0x0014339F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LogisticsInfoScNotify);
		}

		// Token: 0x060079F1 RID: 31217 RVA: 0x001451AD File Offset: 0x001433AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LogisticsInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.CPAMDPLGPHM, other.CPAMDPLGPHM) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060079F2 RID: 31218 RVA: 0x001451E0 File Offset: 0x001433E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.cPAMDPLGPHM_ != null)
			{
				num ^= this.CPAMDPLGPHM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060079F3 RID: 31219 RVA: 0x0014521C File Offset: 0x0014341C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060079F4 RID: 31220 RVA: 0x00145224 File Offset: 0x00143424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060079F5 RID: 31221 RVA: 0x0014522D File Offset: 0x0014342D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.cPAMDPLGPHM_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.CPAMDPLGPHM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060079F6 RID: 31222 RVA: 0x00145260 File Offset: 0x00143460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.cPAMDPLGPHM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CPAMDPLGPHM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060079F7 RID: 31223 RVA: 0x001452A0 File Offset: 0x001434A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LogisticsInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.cPAMDPLGPHM_ != null)
			{
				if (this.cPAMDPLGPHM_ == null)
				{
					this.CPAMDPLGPHM = new PKHLAAOBOEK();
				}
				this.CPAMDPLGPHM.MergeFrom(other.CPAMDPLGPHM);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060079F8 RID: 31224 RVA: 0x001452F4 File Offset: 0x001434F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060079F9 RID: 31225 RVA: 0x00145300 File Offset: 0x00143500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.cPAMDPLGPHM_ == null)
					{
						this.CPAMDPLGPHM = new PKHLAAOBOEK();
					}
					input.ReadMessage(this.CPAMDPLGPHM);
				}
			}
		}

		// Token: 0x04002E9A RID: 11930
		private static readonly MessageParser<LogisticsInfoScNotify> _parser = new MessageParser<LogisticsInfoScNotify>(() => new LogisticsInfoScNotify());

		// Token: 0x04002E9B RID: 11931
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E9C RID: 11932
		public const int CPAMDPLGPHMFieldNumber = 9;

		// Token: 0x04002E9D RID: 11933
		private PKHLAAOBOEK cPAMDPLGPHM_;
	}
}
